<#import "/common/taglibs/spring.ftl" as spring/>
<#macro showFieldError commandName >
    <@spring.bind path=commandName />
    <#assign errors = spring.status.errors/>
    <#if errors.hasFieldErrors()>
        <div class="has-danger">
            <div class="form-control-feedback"><@spring.showErrors separator="<br>"/></div>
        </div>
    </#if>
</#macro>